package com.example.myblogserver.mapper;

import com.example.myblogserver.model.UsersAccount;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UsersAccountMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(UsersAccount row);

    UsersAccount selectByPrimaryKey(Long userId);

    UsersAccount selectByUserEmail(String userEmail);

    List<UsersAccount> selectAll();

    int updateByPrimaryKey(UsersAccount row);
}